window: Only claim the sequence if keeping the grab
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 25 Jan 2015 17:55:01 +0000 (17:55 +0000)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 28 Jan 2015 17:11:12 +0000 (17:11 +0000)
commit3f4df0644c76c88a57a0bbe57a4b469f5dddb71e
treef73014285b72f03d59a853753b2bc452099d0477
parentea983404ec02c1fcb01be13eb2ce271430d80346
window: Only claim the sequence if keeping the grab

If the grab belongs elsewhere, the window won't claim the sequence right
away. The sequence may still be claimed afterwards when window dragging
starts, but simple clicks won't be consumed this way.

This makes it possible to close popovers when clicking on the title region,
while still permitting touch/button 1 interaction for every other purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=743257
gtk/gtkwindow.c